.class public Lrexsee/multimedia/VideoDialog;
.super Lrexsee/core/widget/DivDialog;
.source "VideoDialog.java"


# instance fields
.field private final mLooping:Z

.field private final mUrl:Ljava/lang/String;

.field public videoView:Lrexsee/multimedia/VideoView;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 1
    .param p1, "browser"    # Lrexsee/core/browser/Browser;
    .param p2, "id"    # Ljava/lang/String;
    .param p3, "url"    # Ljava/lang/String;
    .param p4, "style"    # Ljava/lang/String;
    .param p5, "looping"    # Z

    .prologue
    .line 13
    invoke-direct {p0, p1, p2, p4}, Lrexsee/core/widget/DivDialog;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;)V

    .line 8
    const/4 v0, 0x0

    iput-object v0, p0, Lrexsee/multimedia/VideoDialog;->videoView:Lrexsee/multimedia/VideoView;

    .line 14
    iput-object p3, p0, Lrexsee/multimedia/VideoDialog;->mUrl:Ljava/lang/String;

    .line 15
    iput-boolean p5, p0, Lrexsee/multimedia/VideoDialog;->mLooping:Z

    .line 16
    return-void
.end method


# virtual methods
.method public start()V
    .locals 5

    .prologue
    .line 20
    invoke-super {p0}, Lrexsee/core/widget/DivDialog;->start()V

    .line 21
    new-instance v0, Lrexsee/multimedia/VideoView;

    iget-object v1, p0, Lrexsee/multimedia/VideoDialog;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/multimedia/VideoDialog;->getDialogId()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lrexsee/multimedia/VideoDialog;->mUrl:Ljava/lang/String;

    iget-boolean v4, p0, Lrexsee/multimedia/VideoDialog;->mLooping:Z

    invoke-direct {v0, v1, v2, v3, v4}, Lrexsee/multimedia/VideoView;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;Z)V

    iput-object v0, p0, Lrexsee/multimedia/VideoDialog;->videoView:Lrexsee/multimedia/VideoView;

    .line 22
    iget-object v0, p0, Lrexsee/multimedia/VideoDialog;->videoView:Lrexsee/multimedia/VideoView;

    invoke-virtual {p0, v0}, Lrexsee/multimedia/VideoDialog;->addChild(Landroid/view/View;)V

    .line 23
    return-void
.end method
